//获取可用税押金(xm项目，gs公司，bsc办事处，wldx往来对象,func回调函数)
function zm_hqkysyj(xm,gs,bsc,wldx,func){
    //获取项目的税押金往来余额
    const args = {
      "datatable_id": "1914534321918578688",
      "search": "",
      "search_fields": [
        {
          "quick_search": true,
          "field": "zkye",//账款余额
          "table": "a",
          "data_type": 1
        }
      ],
      //账款类型为开票税款
      "advance_filters": {condition: "a.:[xm]=? and a.:[gs]=? and a.:[bsc]=? and a.:[wldx]=? and a.:[zklx]=?", values: JSON.stringify([xm,gs,bsc,wldx,"1885244464029503489"])},
      "page": 1,
      "page_size": 99999,
    }
    ycWindow.plugins.crud.Query(args,(result)=>{
      var syj=0;
      if(result.total){
        syj=parseFloat(result.data[0].zkye)?parseFloat(result.data[0].zkye):0;
      }
      func(syj);
    })
  }